import i18n from '@/i18n'
import { ApiProperty } from '@nestjs/swagger'

export class MetaPlatformGetBindDataSourceVo {
  @ApiProperty({ description: i18n.t('app-meta.vo.meta-platform-get-bind-data-source.12151167-0') })
  name: string

  @ApiProperty({ description: i18n.t('app-meta.vo.meta-platform-get-bind-data-source.12151167-1') })
  label: string

  @ApiProperty({
    description: i18n.t('app-meta.vo.meta-platform-get-bind-data-source.12151167-2'),
    type: 'array',
    items: { $ref: '#/components/schemas/' + MetaPlatformGetBindDataSourceVo.name },
  })
  children?: MetaPlatformGetBindDataSourceVo[]
}
